package com.sq.partner.manager.dao;

import java.util.HashMap;

import com.sq.partner.manager.mybatis.model.CommamtFee;
import com.sq.partner.manager.util.Page;

/**
 * 出库费用Dao
 * SQ
 *
 */
public interface CommamtFeeDao extends BaseDao{
	
	public boolean insertCommamtInfo(CommamtFee commamtFee) throws Exception;
	
	/**
	 * 根据条件分页查询多条申请信息
	 * @param applyinfo
	 * @return
	 * @throws Exception
	 */
	public Page<CommamtFee> queryCommamtFeeList(Page<CommamtFee> page) throws Exception;
	
	/**
	 * 更新出库费用表
	 * @param param
	 * @return
	 * @throws Exception
	 */
	public boolean updatCommamtInfo(HashMap<String, Object> param) throws Exception;
	
	public CommamtFee getCommamtInfoByCommamtId(String commamtId) throws Exception;
	
	public CommamtFee queryForPay(String commamtId)throws Exception;
	
	public void updateBackPayFlagByCommamtId(HashMap<String, Object> param) throws Exception;

}
